package org.emergent.lucidity;

import org.bouncycastle.jce.provider.BouncyCastleProvider;
import org.emergent.lucidity.test.KeyBasedFileProcessor;
import org.emergent.lucidity.test.OpenPGPExcerciser;
import org.emergent.lucidity.test.SignedFileProcessor;
import java.security.Security;

/**
 * User: patrick
 * Date: Feb 6, 2008
 * Time: 12:02:04 AM
 */
public class Main
{
    public static void main( String[] args ) throws Exception
    {
        Security.addProvider(new BouncyCastleProvider());
        if (args.length > 0 && "rhino".equals(args[0]))
        {
            OpenPGPExcerciser.main( null );
        }
        else
        {
//            ClearSignedFileProcessor.main( args );
//            KeyBasedFileProcessor.main( args );
            SignedFileProcessor.main( args );
//        PBEFileProcessor.main( args );
        }
    }
}
